package com.star.percalservice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;  
import com.fasterxml.jackson.annotation.JsonFormat;  
import lombok.Data;  
import java.math.BigDecimal;  
import java.time.LocalDate;  

@Data  
@TableName("paper")  
public class Paper {  
    @TableId(type = IdType.AUTO)
    private Integer id;  
    private Integer teacherId;  
    private String title;  
    private String journal;  
    private BigDecimal impactFactor;  
    
    @JsonFormat(pattern = "yyyy-MM-dd")  
    private LocalDate publishDate;  
    private String status;  
}  